<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <div id="app">
    <h1>差值表达式:</h1>
    <div>{{ msg }}</div>
    <div>{{ count }}</div>
    <hr>

    <div>v-text:</div>
    <div v-text="msg"></div>
    <div v-text="count"></div>
    <hr>

    <h1>v-model</h1>
    <input type="text" v-model="msg">
    <input type="text" v-model="count">
    <textarea v-model="html" cols="30" rows="10"></textarea>

    <h1>v-html</h1>
    <div v-html="html"></div>

    <h1 v-on:click="console.log('v-on')">v-on</h1>
  </div>


  <script type="module" src="./js/vue.js"></script>

</body>
</html>
